package com.gfxy.modules.classtime.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gfxy.modules.classtime.entity.ClasstimeScore;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gfxy.modules.classtime.vo.ClasstimeScorePage;

/**
 * @Description: 课时分数表
 * @Author: jeecg-boot
 * @Date:   2021-08-30
 * @Version: V1.0
 */
public interface IClasstimeScoreService extends IService<ClasstimeScore> {

    public void computeClasstimePoints(String year);

    void computeClasstimePointsForOneTeacher(String year, String teacherId);

    IPage<ClasstimeScorePage> listByYearAndDep(Page<ClasstimeScorePage> page, String year, String depCode);

    ClasstimeScore queryByDateAndTeacherId(String date, String teacherId);

}
